<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------



$a = 'a:17:{s:5:"appid";s:18:"wx373c3b608fe3e39e";s:6:"attach";s:10:"sdsdafsadf";s:9:"bank_type";s:3:"CFT";s:8:"cash_fee";s:1:"1";s:8:"fee_type";s:3:"CNY";s:12:"is_subscribe";s:1:"N";s:6:"mch_id";s:10:"1500774721";s:9:"nonce_str";s:32:"02ejqieoa9drmdgh62yv0s3qas7so31c";s:6:"openid";s:28:"oZVPgjkTT9UdsaixyEL9HwblNlcg";s:12:"out_trade_no";s:16:"1111111100000000";s:11:"result_code";s:7:"SUCCESS";s:11:"return_code";s:7:"SUCCESS";s:4:"sign";s:32:"998DE80B003A21333EF5F6CE1C6B8374";s:8:"time_end";s:14:"20180328160337";s:9:"total_fee";s:1:"1";s:10:"trade_type";s:6:"NATIVE";s:14:"transaction_id";s:28:"4200000099201803287280875160";}';
print_r(unserialize($a));